package com.satoken.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AuthController {
    @SaIgnore
    @GetMapping("/center/index")
    public String center(){
        return "center_index";
    }

    @GetMapping("/admin/index")
    public String admin(){
        return "admin_index";
    }

}
